import React from 'react'
import { Outlet } from 'react-router-dom'
import { Layout, theme } from 'antd';

const { Content } = Layout;



export default function Unfold(props) {
    const { token: { colorBgContainer, borderRadiusLG }, } = theme.useToken();
    const {collapsed} = props
    return (
        <div>
            <Content>
                <div className={collapsed == true ? 'content_active' : 'content'}>
                    <Outlet></Outlet>
                </div>
            </Content>
        </div>
    )
}

